package com.xiaolei.library.Medias;

import android.net.Uri;

/**
 * 多媒体
 */
public abstract class Media
{
    // id
    private long id;
    // 显示名称
    private String display_name;
    // 大小
    private long size;
    // 文件类型
    private String mimeType = "";
    // 修改时间
    private long date_modified = System.currentTimeMillis();
    // 添加时间
    private long date_added = System.currentTimeMillis();
    // 内容的Uri
    private Uri contentUri;

    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public String getDisplay_name()
    {
        return display_name;
    }

    public void setDisplay_name(String display_name)
    {
        this.display_name = display_name;
    }

    public long getSize()
    {
        return size;
    }

    public void setSize(long size)
    {
        this.size = size;
    }

    public String getMimeType()
    {
        return mimeType;
    }

    public void setMimeType(String mimeType)
    {
        this.mimeType = mimeType;
    }

    public long getDate_modified()
    {
        return date_modified;
    }

    public void setDate_modified(long date_modified)
    {
        this.date_modified = date_modified;
    }

    public long getDate_added()
    {
        return date_added;
    }

    public void setDate_added(long date_added)
    {
        this.date_added = date_added;
    }

    public Uri getContentUri()
    {
        return contentUri;
    }

    public void setContentUri(Uri contentUri)
    {
        this.contentUri = contentUri;
    }
}
